package com.cimpm.model.controller;

import com.cimpm.model.entity.Node;
import com.hby.common.annotation.aspect.AutoEntityProcess;
import com.hby.common.annotation.handler.AutoRequestBody;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


@RestController
@RequestMapping("model")
@CrossOrigin
public class NodeController {

    @RequestMapping("/node")
    @AutoEntityProcess(BUSINESS_CLASS = Node.class, LOG_MSG = "node", PERMISSION_TYPE = "5234")
    public Object nodeAuto(@AutoRequestBody Map<String, Object> param){
        return null;
    }

}
